package com.chenyongjing.design.pattern.iterator.general;

/**
 * @Author chen
 * @Date 2022/11/19 13:52
 */
public interface IAggregate<E> {
    boolean add(E e);

    boolean remove(E e);

    Iterator<E> iterator();
}
